<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">

    <title>教师端--班级成绩排名-页面</title>
    <!-- 自定义title图标 favicon -->
    <link rel="icon" href="/helps/img/favicon.ico"  type="image/png">
    <!-- Bootstrap core CSS -->
    <link href="/plugins/bootstrap-4.0.0/css/bootstrap.min.css"  rel="stylesheet">
    <!-- 自定义样式 -->
    <link href="/helps/css/bottom.css"  rel="stylesheet">
    <style type="text/css">
        /* Chart.js */

        @-webkit-keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        @keyframes chartjs-render-animation {
            from {
                opacity: 0.99
            }
            to {
                opacity: 1
            }
        }

        .chartjs-render-monitor {
            -webkit-animation: chartjs-render-animation 0.001s;
            animation: chartjs-render-animation 0.001s;
        }
        /* 自定义搜索表单样式 */
        .custom-form .input-group {
            max-width: 500px;
            margin: auto;
        }

        .custom-form .input-group .custom-select {
            border-top-left-radius: 25px;
            border-bottom-left-radius: 25px;
        }

        .custom-form .input-group .btn {
            border-top-right-radius: 25px;
            border-bottom-right-radius: 25px;
            background-color: #d4edda; /* 浅绿色 */
            color: #000000;
        }

        .custom-form .input-group .btn:hover {
            background-color: #479658;
        }
    </style>
</head>

<body>
<!--引入抽取的topbar-->
<!--模板名：会使用thymeleaf的前后缀配置规则进行解析-->
<div th:replace="commons/teabar::topbar"></div>
<div class="container-fluid">
    <div class="row">
        <!--引入侧边栏-->
        <div th:replace="commons/teabar::#sidebar(activeUri='rankbyclass')"></div>

        <main role="main" class="col-md-9 ml-sm-auto col-lg-10 pt-3 px-4">
            <form method="get" th:action="@{/tea/selectRankbyclass}" class="custom-form my-4">
                <div class="input-group mb-3">
                    <select class="custom-select" name="resTerm">
                        <option value="">学期</option>
                        <option value="2023-2024-1">2023-2024-1</option>
                        <option value="2023-2024-2">2023-2024-2</option>
                    </select>
                </div>
                <div class="input-group mb-3">
                    <select class="custom-select" name="className">
                        <option value="">班级</option>
                        <option value="计算机科学与技术1班">计算机科学与技术1班</option>
                        <option value="计算机科学与技术2班">计算机科学与技术2班</option>
                        <option value="计算机科学与技术3班">计算机科学与技术3班</option>
                        <option value="计算机科学与技术4班">计算机科学与技术4班</option>
                        <option value="智能科学与技术1班">智能科学与技术1班</option>
                        <option value="智能科学与技术2班">智能科学与技术2班</option>
                        <option value="物联网工程1班">物联网工程1班</option>
                        <option value="物联网工程2班">物联网工程2班</option>
                    </select>
                    <div class="input-group-append" >
                        <button  class="btn btn-outline-secondary" type="submit" id="button-addon2">根据学期和班级查询</button>
                    </div>
                </div>
            </form>
        </main>
    </div>
</div>

<script type="text/javascript" src="/helps/js/jquery-3.7.1.min.js" ></script>
<script src="https://unpkg.com/@popperjs/core@2"></script>&ndash;&gt;-->
<script type="text/javascript" src="/plugins/bootstrap-4.0.0/js/bootstrap.min.js" ></script>

<!-- Icons -->
<script type="text/javascript" src="/helps/js/feather.min.js" ></script>
<script>
    feather.replace()
</script>
</body>
</html>